package ai.assist.common.businesss.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hui
 * @Date 2023/1/16 17:20
 **/
@Data
@ApiModel
public class WorkFormDeferLogModel implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("派单表id")
    private Long sendbackId;

    @ApiModelProperty("工单表id")
    private Long wfId;

    @ApiModelProperty("原时间限制")
    private Date limitTime;

    @ApiModelProperty("延期至")
    private Date delayTo;

    @ApiModelProperty("延期说明id")
    private Integer delayReasonNo;

    @ApiModelProperty("延期说明")
    private String delayReason;

    @ApiModelProperty("申请部门id")
    private Long applyDeptId;

    @ApiModelProperty("申请部门id")
    private String applyDeptName;

    @ApiModelProperty("延期状态:1申请待审批，2审批通过，3审批未通过")
    private Integer deferState;

    @ApiModelProperty("申请时间")
    private Date applyTime;

    @ApiModelProperty("申请人")
    private Long applyUserId;

    @ApiModelProperty("申请人")
    private String applyUserName;

    @ApiModelProperty("审批人id")
    private Long checkUserId;

    @ApiModelProperty("审核单位")
    private Long checkDeptId;

    @ApiModelProperty("审核单位")
    private String checkDeptName;

    @ApiModelProperty("审批描述")
    private String checkDesc;

    @ApiModelProperty("审批备注")
    private String checkRemark;

    @ApiModelProperty("审批查看时间")
    private Date checkTime;

    @ApiModelProperty("同步状态")
    private Integer syncState;


    @ApiModelProperty("更新时间")
    private Date updateTime;


    @ApiModelProperty("类型:20 区政府自建，21 区内热线，22区长信箱，25金牛企业诉求，31市长电话，32网络理政，33短信工单，43四川在线 44麻辣社区 54人民网，61舆情，62微博，63微信\n" +
            " 20,21目前注释无用，金牛区全部：222,25,43,44,54 成都市系统：31,32,33")
    private Integer sourceType;

    @ApiModelProperty("市上工单流水号")
    private String wfNo;

    @ApiModelProperty("工单主题")
    private String fmTopic;

    @ApiModelProperty("办理期限")
    private Date fmLimit;

}
